/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package model.dao.services;

import model.entities.NewsType;
import java.util.List;

/**
 *
 * @author THANMINH
 */
public interface NewsTypeDAOServices {
    
    public List<NewsType> GetAll();
    public NewsType getById(int id);
    public NewsType getByName(String Name);
    public NewsType getByDescriptions(String descriptions);
    public boolean addNewType(NewsType newtype);
    public boolean editNewType(NewsType newtype);
    public boolean delete(int id);
    public boolean remove(int id);
    public boolean restore(int id);
    
}
